package com.smxy.mall.service;

import com.smxy.mall.entity.Address;
import com.smxy.mall.model.Current;
import com.smxy.mall.model.request.AddressReq;

import java.util.List;

public interface AddressService {
    Address save(AddressReq addressReq, Current current);
    List<Address> list();
    List<Address> findByUserId(Integer userId);
    Address findById(Integer id);
}
